/*
** File:   mainwindow.cpp
** Class:  
** Author: Krzysztof Sas
** Date:   2012-03-29
******************************/

#include "mainwindow.h"
#include <limits>
#include "process.h"
#include <QtGui>

MainWindow::MainWindow(QWidget *parent)
    : QWidget(parent), m_status("not working")
{


    m_textEdit = new QTextEdit;

    QGridLayout *aLay = new QGridLayout;
    aLay->addWidget(m_textEdit);



    setLayout(aLay);
}

MainWindow::~MainWindow()
{

}



void MainWindow::makeProcessing()
{
    m_status = "bussy";
    for(int i = 0; i != std::numeric_limits<int>::max(); i++)
    {
        /*for(int j = 0; j != std::numeric_limits<int>::max(); j++)
        {

        }*/
    }
    m_status = "finished";
    //emit ready();
}

